﻿@using CoreData
@model List<Category>
@{
    Layout = null;
}
@if (Model != null && Model.Count() > 0)
{
    foreach (var item in Model)
    {
    <div class="grid-view">
        <div class="grid-title">
            <h3>
                @item.Name</h3>
            <div class="link-to-all">
                <a href="@Url.RouteUrl("category_list", new { Id = item.ID, Link = item.Link })">Xem
                    thêm »</a>
            </div>
        </div>
       @* @Html.Action("_ShowProductByCategory", "Product", new { CatId = item.ID })
   *@ </div>
    
    }
}